package com.xbb.monitor.repository;

import com.xbb.monitor.entity.Disk;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DiskRepository extends JpaRepository<Disk,Long>{
    @Query("select mont from Disk group by mont")
    public List<String> findAllPath();
}
